.box{
    position: relative;
}
.real{
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fade{
    position: absolute;
    left: 0px;
    top:0px;
    width:0px;
    height: 0px;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    background-color: transparent;
    color:transparent;
}